package org.itark.bbs.user.controller;

import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.itark.bbs.common.api.RestResult;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author nerokey
 */
@Api(tags = "用户接口")
@RestController
@RequestMapping("")
public class UserController {

    @ApiOperation("登录")
    @PostMapping("/login")
    public RestResult<String> login(){
        return RestResult.success("123");
    }

}
